package com.sz.framework.config;

/**
 * 全局配置参数
 * @author: yxl
 * 2025-07-22
 */
public class SzConfig {

    /**
     * 是否在初始化配置时在控制台打印框架版本信息
     */
    private Boolean printBanner = true;

	/**
	 * 是否开启控制台日志
	 */
	private Boolean printLog = true;

	/**
	 * 打印日志的级别
	 */
	private Integer logLevel = 1;

	/**
	 * 是否打印彩色日志
	 */
	private Boolean printColorLog = null;





    public Boolean getPrintBanner() {
		return printBanner;
	}

    public SzConfig setPrintBanner(Boolean printBanner) {
		this.printBanner = printBanner;
		return this;
	}

	public Boolean getPrintLog() {
		return printLog;
	}

	public SzConfig setPrintLog(Boolean printLog) {
		this.printLog = printLog;
		return this;
	}

	public Integer getLogLevel() {
		return logLevel;
	}

	public SzConfig setLogLevel(Integer logLevel) {
		this.logLevel = logLevel;
		return this;
	}

	public Boolean getPrintColorLog() {
		return printColorLog;
	}

	public SzConfig setPrintColorLog(Boolean printColorLog) {
		this.printColorLog = printColorLog;
		return this;
	}


}
